package com.sls.game.service;

import java.util.List;

import com.sls.core.socket.Head;
import com.sls.core.socket.ServerDisponseException;
import com.sls.game.pojo.SpecialPriceSystemInfo;

/**
 * 特殊价格体系维护
 * 
 * @author cx
 * 
 */
public interface SpecialPriceSystemService {
	/**
	 * 保存特殊价格体系
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String save(String body, Head head) throws ServerDisponseException;

	/**
	 * 修改
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String update(String body, Head head) throws ServerDisponseException;

	/**
	 * 删除
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String delete(String body, Head head) throws ServerDisponseException;

	/**
	 * 分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryPriceSystem(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 详情查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryPriceSystemByGoodsIdAndTemplateCode(String body,
			Head head) throws ServerDisponseException;

	/**
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryPriceSystemByGoodsId(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 导出某一模板下的商品价格(已废除)
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	// public String queryExportSalePrice(String body, Head head)
	// throws ServerDisponseException;

	/**
	 * 查询模板信息
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryTemplateInfo(String body, Head head)
			throws ServerDisponseException;

	public void insertCopyTemplateInfo(String body, Head head)
			throws ServerDisponseException;

	public List<SpecialPriceSystemInfo> queryPriceTemplateInfoList(Head head)
			throws ServerDisponseException;
	
	public void saveSetPrice(String body, Head head)
			throws ServerDisponseException;
}
